package com.scsj.supermarket.bean.parameter;

/**
 *
 */
public class BindBankCardPostBean {

    public BindBankCardPostBean() {
    }

    public BindBankCardPostBean(String code, UserBankCardBean userBankCard) {
        this.code = code;
        this.userBankCard = userBankCard;
    }

    /**
     * code : 210474
     * userBankCard : {"cardNo":"45613245643612356","name":"魏方正","phone":"13071093832","bankOpen":"开户行名称","bankName":"中国农业银行","cardType":1}
     */


    private String code;
    private UserBankCardBean userBankCard;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public UserBankCardBean getUserBankCard() {
        return userBankCard;
    }

    public void setUserBankCard(UserBankCardBean userBankCard) {
        this.userBankCard = userBankCard;
    }

    public static class UserBankCardBean {

        public UserBankCardBean() {
        }

        public UserBankCardBean(String cardNo, String name, String phone, String bankOpen, String bankName, int cardType) {
            this.cardNo = cardNo;
            this.name = name;
            this.phone = phone;
            this.bankOpen = bankOpen;
            this.bankName = bankName;
            this.cardType = cardType;
        }

        /**
         * cardNo : 45613245643612356
         * name : 魏方正
         * phone : 13071093832
         * bankOpen : 开户行名称
         * bankName : 中国农业银行
         * cardType : 1
         */


        private String cardNo;
        private String name;
        private String phone;
        private String bankOpen;
        private String bankName;
        private int cardType;

        public String getCardNo() {
            return cardNo;
        }

        public void setCardNo(String cardNo) {
            this.cardNo = cardNo;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getBankOpen() {
            return bankOpen;
        }

        public void setBankOpen(String bankOpen) {
            this.bankOpen = bankOpen;
        }

        public String getBankName() {
            return bankName;
        }

        public void setBankName(String bankName) {
            this.bankName = bankName;
        }

        public int getCardType() {
            return cardType;
        }

        public void setCardType(int cardType) {
            this.cardType = cardType;
        }
    }
}
